#ifndef __MESSAGES_H_
#define __MESSAGES_H_

#define MESSAGE_SIZE 256
#define DISPLAY_TEXT 0
#define DISPLAY_CLOCK 1
#define CALL 2
#define ANSWER 3
#define INPUT 4
#define COUNT_REPORT 5
#define WAKEUP 10 6

#include "rtx_inc.h"

typedef struct message_envelope {
	struct message_envelope *next;
	UINT32 sender_process_ID;
	UINT32 destination_process_ID;
	UINT32 message_type;
	UINT32 number_of_clock_ticks;
	BYTE message_content[MESSAGE_SIZE];
} MESSAGE;

#endif
